package com.wanmait.recruit.pojo;

import java.io.Serializable;
import java.util.Date;

public class Person implements Serializable {
    private Integer id;

    /**
	* 账号
	*/
    private String personName;

    /**
	* 姓名
	*/
    private String name;

    /**
	* 出生日期
	*/
    private Date birth;

    /**
	* 头像
	*/
    private String pic;

    /**
	* 性别
	*/
    private String sex;

    /**
	* 密码
	*/
    private String password;


    /**
	* 手机号
	*/
    private String phone;

    /**
	* 邮箱
	*/
    private String email;

    /**
	* 是否已激活
	*/
    private Boolean isPass;

    /**
	* 激活码
	*/

    private String code;
    //是否是公司管理员
    private Boolean isCompanyAdmin;
    public void setIsCompanyAdmin(Boolean isCompanyAdmin){
        this.isCompanyAdmin = isCompanyAdmin;
    }
    public Boolean getIsCompanyAdmin(){
        return isCompanyAdmin;
    }

    //是否是HR
    private Boolean isCompanyHr;
    public void setIsCompanyHr(Boolean isCompanyHr){this.isCompanyHr = isCompanyHr;}
    public Boolean getIsCompanyHr(){return isCompanyHr;}


    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getIsPass() {
        return isPass;
    }

    public void setIsPass(Boolean isPass) {
        this.isPass = isPass;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", personName=").append(personName);
        sb.append(", name=").append(name);
        sb.append(", birth=").append(birth);
        sb.append(", pic=").append(pic);
        sb.append(", sex=").append(sex);
        sb.append(", password=").append(password);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", isPass=").append(isPass);
        sb.append(", code=").append(code);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}